package com.account.boot.model.vo;

import java.util.Date;

import com.account.boot.model.Admin;

public class AdminVo {
	
	private String name;

    private String password;

    private Date createTime;

    public AdminVo() {
    		super();
    }
    
    public AdminVo(Admin admin) {
		super();
		this.name = admin.getName();
		this.password = admin.getPassword();
		this.createTime = admin.getCreateTime();
	}

	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
